window.onload = () => {
    const inputGroup = window.document.getElementsByTagName('input');
    console.log(inputGroup);
    for (const input of inputGroup) {
        input.placeholder = input.id;
        input.onchange = (e) => {
            document.body.style.setProperty('--' + input.id, e.target.value);
        }
    }
}